package com.example.news.http

import com.example.news.entity.BaseEntity
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {

    @GET("api/news/page?size=10")
    suspend fun getNewsList(@Query("type")type:Int,@Query("page")page:Int):BaseEntity
}